home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / Tools & Goodies / ODFx / Sources / Menus.fr < prev    next >
Encoding:
Text File  |  1996-08-26  |  2.0 KB  |  76 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                Menus.fr
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef FWRESFIL_K
  11. #include "FWResFil.k"
  12. #endif
  13.  
  14. #ifndef DEFINES_K
  15. #include "Defines.k"
  16. #endif
  17.  
  18. #ifndef FWMENUS_FR
  19. #include "FWMenus.fr"
  20. #endif
  21.  
  22. //----------------------------------------------------------------------------
  23. //    Strings for ODFx Menu
  24. //----------------------------------------------------------------------------
  25. resource FW_kMULTISTRING (kODFxPartStrings)
  26. {
  27.     kFirstString,        "Welcome to ODF on ";
  28.     kMacString,            "Macintosh";
  29.     kWinString,            "Windows";
  30.     kBlankString,        "This part intentionally left blank";
  31. }
  32.  
  33. //----------------------------------------------------------------------------
  34. //    Strings for Undo and Redo menu items
  35. //----------------------------------------------------------------------------
  36.  
  37. resource FW_kMULTISTRING (kODFxUndoStrings)
  38. {
  39.     kUndoDropMsg,    "Undo Drop";
  40.     kRedoDropMsg,    "Redo Drop";
  41.     kUndoResetMsg,    "Undo Reset Colors";
  42.     kRedoResetMsg,    "Redo Reset Colors";
  43.     kUndoPasteMsg,    "Undo Paste";
  44.     kRedoPasteMsg,    "Redo Paste";
  45.     kUndoChangeMsg,    "Undo Change";
  46.     kRedoChangeMsg,    "Redo Change";
  47. }
  48.  
  49. //----------------------------------------------------------------------------
  50. //    Menus
  51. //----------------------------------------------------------------------------
  52.  
  53. resource FW_RMenuBar(kMenuBar)
  54. {
  55.     "About ODFx...",
  56.  
  57.     {
  58.         FW_RPullDownMenu
  59.         (
  60.             "ODFx"
  61.             {
  62.                 FW_RTextItem(c4Colors, '4', "4 Nodes"),
  63.                 FW_RTextItem(c9Colors, '9', "9 Nodes"),
  64.                 FW_RSeparatorItem(),
  65.                 FW_RTextItem(cGridLines, 'L', "Zone Lines")
  66.                 FW_RSeparatorItem(),
  67.                 FW_RTextItem(cLowRes, 'Y', "Chunky Resolution")
  68.                 FW_RTextItem(cMedRes, 'G', "Good Resolution")
  69.                 FW_RTextItem(cHighRes, 'F', "Fine Resolution")
  70.                 FW_RSeparatorItem(),
  71.                 FW_RTextItem(cRotateColors, 'R', "Rotate Colors")
  72.             }
  73.         )
  74.     }
  75. };
  76.